 |
 |
 |
 |
#150177 - 12/03/01 04:32 PM
[6.1x] Megamod 2.0
|
Moderator
Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
|
Title: Megamod 2.0 Final Tested on ubb: 6.1.0.4 Description: Makes a new status of a moderator to every board(like an administrator) without being listed, but no access to control panel(if not desired). Download: http://www.ubbdev.com/ubb/upload/00006378/megamod.zip Bug fixes since last version: v1.0-Inital release for 6.01 v1.5-Ported to 6.1 betas, fixing the posting bug v2.0-Final (Fixed demodding bug) ZIP includes: Multihack, patch for authority list, jimbo's custom status, and stars/status 6.0. and instructions on how to add megamods to control panel settings.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#150186 - 01/05/02 04:11 PM
Re: [6.1x] Megamod 2.0
|
Junior Member
Registered: 08/02/01
Posts: 11
|
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by PeteB: I feel REALLY stupid, but I updated all the files as said in the install, and uploaded the additional files, but I can't find where I assign mega mods from. I looked all over the CP?
Also, what is the .mhx file in the ZIP?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif"> Well the megamod menu should be in "Primary Settings" you may wanna run thru the code again cause maybe you missed something <img src="biggrin.gif" border="0" alt="" /> as for the .mhx file ,thats if you use the www.multihack.com to install your hacks.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#150195 - 01/23/02 03:41 PM
Re: [6.1x] Megamod 2.0
|
Moderator
Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
|
Nope, i was wrong. It's in cp_lib.cgi under sub CheckPermission_CP.
Make sure you have this:
if (($profile[8] ne 'Administrator') && ($profile[8] ne 'Moderator') && ($profile[8] ne 'MegaModerator')) { print qq%Content-type: text/htmlnn%; &AppendAdminLog($username, $status, "Log In", "Failed", "User is NOT an Admin or Mod"); &StandardHTML("Sorry, you are not an administrator or moderator, so you may not gain access to the control panel."); }
Under this:
if ($public_name eq "") { $public_name = $profile[0]; }
and above this:
#return status &AppendAdminLog($username, $status, "Log In", "Succeeded", "User is a $profile[8]");
Again, this won't work on versions in the 6.0.x series.
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|